Clover coverage report - bexee - 0.1
Coverage timestamp: Do Dez 16 2004 13:24:06 CET
file stats: LOC: 87   Methods: 6
NCLOC: 28   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
CompensateImpl.java - 50% 50% 50%
coverage coverage
 1   
 /*
 2   
  * $Id: CompensateImpl.java,v 1.1 2004/12/15 14:18:13 patforna Exp $
 3   
  *
 4   
  * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
 5   
  * Berne University of Applied Sciences
 6   
  * School of Engineering and Information Technology
 7   
  * All rights reserved.
 8   
  */
 9   
 package bexee.model.activity.impl;
 10   
 
 11   
 import bexee.core.ProcessController;
 12   
 import bexee.core.ProcessInstance;
 13   
 import bexee.model.BPELElementVisitor;
 14   
 import bexee.model.StandardAttributes;
 15   
 import bexee.model.activity.Compensate;
 16   
 import bexee.model.activity.Scope;
 17   
 
 18   
 /**
 19   
  * Default implementation of the <code>Compensate</code> BPEL activity.
 20   
  * 
 21   
  * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
 22   
  * @author Patric Fornasier
 23   
  * @author Pawel Kowalski
 24   
  */
 25   
 public class CompensateImpl extends AbstractActivity implements Compensate {
 26   
 
 27   
     private Scope scope = null;
 28   
 
 29   
     //**************************************************/
 30   
     // c'tors
 31   
     //**************************************************/
 32   
 
 33  4
     public CompensateImpl() {
 34  4
         this(null);
 35   
     }
 36   
 
 37  4
     public CompensateImpl(StandardAttributes standardAttributes) {
 38  4
         super(standardAttributes);
 39   
     }
 40   
 
 41   
     //**************************************************/
 42   
     // bexee.model.activity.Compensate
 43   
     //**************************************************/
 44   
 
 45   
     /*
 46   
      * (non-Javadoc)
 47   
      * 
 48   
      * @see bexee.model.activity.Compensate#setScope(bexee.model.activity.Scope)
 49   
      */
 50  0
     public void setScope(Scope scope) {
 51  0
         this.scope = scope;
 52   
     }
 53   
 
 54   
     /*
 55   
      * (non-Javadoc)
 56   
      * 
 57   
      * @see bexee.model.activity.Compensate#getScope()
 58   
      */
 59  0
     public Scope getScope() {
 60  0
         return scope;
 61   
     }
 62   
 
 63   
     //**************************************************/
 64   
     // bexee.core.BPELElement
 65   
     //**************************************************/
 66   
 
 67   
     /*
 68   
      * (non-Javadoc)
 69   
      * 
 70   
      * @see bexee.core.BPELElement#accept(bexee.core.ProcessControllerImpl,
 71   
      *      bexee.core.ProcessInstance)
 72   
      */
 73  2
     public void accept(ProcessController controller, ProcessInstance instance)
 74   
             throws Exception {
 75  2
         controller.process(this, instance);
 76   
     }
 77   
 
 78   
     /*
 79   
      * (non-Javadoc)
 80   
      * 
 81   
      * @see bexee.model.BPELElement#accept(bexee.model.BPELElementVisitor)
 82   
      */
 83  0
     public void accept(BPELElementVisitor elementVisitor) {
 84  0
         elementVisitor.visit(this);
 85   
     }
 86   
 
 87   
 }